/*
 * @Description: 
 * @Date: 2024-04-25 16:17:35
 * @LastEditTime: 2024-05-07 14:51:23
 */
import request from '@/utils/request'
// 联络站点位数据
export function contactStationList(data) {
    return request({
        url: '/open/contactStation/list',
        headers: {
            isToken: false
        },
        method: 'get',
    })
}
//层级统计数据
export function levelCount(data) {
    return request({
        url: '/open/level/count',
        headers: {
            isToken: false
        },
        method: 'get',
    })
}
//建议类型统计
//
export function suggestType(data) {
    return request({
        url: '/open/suggest/type/count',
        headers: {
            isToken: false
        },
        method: 'get',
    })
}
//代表履职

export function lzCount(data) {
    return request({
        url: '/open/lz/count',
        headers: {
            isToken: false
        },
        method: 'get',
    })
}

export function userCount(data) {
    return request({
        url: '/open/user/count',
        headers: {
            isToken: false
        },
        method: 'get',
    })
}
///open/suggest/list

export function suggestList(data) {
    return request({
        url: '/open/suggest/list',
        headers: {
            isToken: false
        },
        method: 'get',
        params: data
    })
}

//
export function addQuestion(data) {
    return request({
        url: '/system/question',

        method: 'POST',
        data
    })
}

export function getQuestion(id) {
    return request({
        url: '/system/question/' + id,
        method: 'get'
    })
}

export function listQuestion(data) {
    return request({
        url: '/system/question/list',
        method: 'get',
        params: data
    })
}

// 修改履职活动
export function updateQuestion(data) {
    return request({
        url: '/system/question',
        method: 'put',
        data: data
    })
}

